package com.ruiyian.project.log.mapper;

import com.ruiyian.common.vo.LineVo;
import com.ruiyian.project.log.domain.PlanLogMain;

import java.util.List;

/**
 * @author chong
 * @email 673426164@qq.com
 * @create 2021/1/26
 * Desc: 预案日志
 */
public interface PlanLogMainMapper {

    /**
     * 保存
     * @param planLogMain
     */
    void save(PlanLogMain planLogMain);

    /**
     * 查询
     * @param planLogMain
     * @return
     */
    List<PlanLogMain> selectList(PlanLogMain planLogMain);

    /**
     * 根据id获取对象
     * @param id
     * @return
     */
    PlanLogMain findOne(Long id);

    /**
     * 统计
     * @return
     */
    List<LineVo> selectLine(PlanLogMain planLogMain);
}
